<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Tagged with virtual keyboard - Processing 2.x and 3.x Forum</title>
      <link>https://forum.processing.org/two/discussions/tagged/feed.rss?Tag=virtual+keyboard</link>
      <pubDate>Sun, 08 Aug 2021 18:25:57 +0000</pubDate>
         <description>Tagged with virtual keyboard - Processing 2.x and 3.x Forum</description>
   <language>en-CA</language>
   <atom:link href="/two/discussions/taggedvirtual+keyboard/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Run android keyboard</title>
      <link>https://forum.processing.org/two/discussion/6018/run-android-keyboard</link>
      <pubDate>Thu, 26 Jun 2014 09:56:57 +0000</pubDate>
      <dc:creator>anthony20</dc:creator>
      <guid isPermaLink="false">6018@/two/discussions</guid>
      <description><![CDATA[<p>Good afternoon,</p>

<p>I'm designing an android app and do not know how I can use the virtual keyboard.</p>

<p>Is there a way to call android keyboard while the application is running? or Should I create a keyboard on my own?</p>

<p>Thanks in advance</p>

<p>Anthony20</p>
]]></description>
   </item>
   <item>
      <title>P5 any? object here?</title>
      <link>https://forum.processing.org/two/discussion/19872/p5-any-object-here</link>
      <pubDate>Wed, 21 Dec 2016 18:16:02 +0000</pubDate>
      <dc:creator>wjsandbe</dc:creator>
      <guid isPermaLink="false">19872@/two/discussions</guid>
      <description><![CDATA[<p>I don't necessarily need code help, I need help working out the logic. I have made a keyboard that is triggered via mouseClicked. Each key of the keyboard is visualized by a rectangle. When a rectangle is clicked the corresponding letter is drawn. The problem is I can't figure out how to have the letters move over if there is already a letter present. For example if I click the a, the letter "a" shows up on my screen, if I go ahead and click the "s" key next the letter "s" will appear on the screen, but it will be drawn directly on top of the previous letter drawn, the "a". I am wondering how do I code the drawing so that it recognizes when a letter is already drawn and then moves the next letter over?</p>

<pre><code>    var v1 = 0;
    var v2 = 0; 
    var lp = 0;
    var mod = 0;
    var colourq = 200;
    var wcolour = 200;


    function setup() {
      createCanvas(600, 600);

    function draw() {
      background(0);
    lp = width/12 * 5 + (mod * 5)


    if(v1 &gt; 0){
        fill(255);
    text("q", lp, height/12 * 4);
    }
    if(v2 &gt; 0){
        fill(255);
    text("w", lp, height/12 * 4);
    }

    function mouseClicked(){
      if (mouseX &lt; width/12 * 10 &amp;&amp; mouseY &gt; height - height/32 * 3){
      mod++;
    }

      if (mouseX &gt; 0 &amp;&amp; mouseY &gt; height - height/32 * 3 &amp;&amp; mouseX &lt; 0 + width/12 &amp;&amp; mouseY &lt; (height - height/32 * 3) + height/32 &amp;&amp; colourq != 100){
     v1 = 1;
     colourq = 100;}

     else { colourq = 200;}

       if (mouseX &gt; width/12 &amp;&amp; mouseY &gt; height - height/32 * 3 &amp;&amp; mouseX &lt; width/12 * 2 &amp;&amp; mouseY &lt; (height - height/32 * 3) + height/32 &amp;&amp; wcolour != 100){
     v2 = 1;
    wcolour = 100;}
else { wcolour = 200;}
    }
</code></pre>
]]></description>
   </item>
   <item>
      <title>How to work in andoid with controlP5? Make bigger labels and use keyboard?</title>
      <link>https://forum.processing.org/two/discussion/17912/how-to-work-in-andoid-with-controlp5-make-bigger-labels-and-use-keyboard</link>
      <pubDate>Fri, 19 Aug 2016 20:38:11 +0000</pubDate>
      <dc:creator>JonSh</dc:creator>
      <guid isPermaLink="false">17912@/two/discussions</guid>
      <description><![CDATA[<p>Hi! I have some trouble working with controlP5 and android. I have some scrollable lists and their "head" or "label" size is small. I have make bigger letters but background size is still small. Also how to show keyboard when a textfield is clicked/touched?
And third question is, how to make a part of the field scrollable? Something like a menu or small scrollable window?</p>
]]></description>
   </item>
   <item>
      <title>Virtual keyboard in Java mode for touchscreen</title>
      <link>https://forum.processing.org/two/discussion/13202/virtual-keyboard-in-java-mode-for-touchscreen</link>
      <pubDate>Fri, 23 Oct 2015 10:29:38 +0000</pubDate>
      <dc:creator>deano</dc:creator>
      <guid isPermaLink="false">13202@/two/discussions</guid>
      <description><![CDATA[<p>Hi there guys,</p>

<p>I'm in the default Java mode. Am using Control P5 for text fields eg: User input for Email address. I can do this via any keyboard (hardware).</p>

<p>However, for a touch screen based app, I would need to provide the user with a virtual Keyboard. Is there a library for this or  am I better off creating my own keyboard with key press events? (a bit more time consuming).</p>

<p>Please point me in the right direction. In my searches, I seem to be finding solutions only for android mode on the forums. This will run in Windows 7 64 bit on a PC. Thanks!</p>

<p>Cheers,</p>

<p>Deano</p>
]]></description>
   </item>
   </channel>
</rss>